package com.reiuy.service.impl;

import com.reiuy.dao.CourseDao;
import com.reiuy.service.CourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class CourseServiceImpl implements CourseService {

    @Resource
    private CourseDao courseDao;

    @Override
    public List<Map<String, String>> showAllCourse() {
        return courseDao.selectAllCourses();
    }
}
